import request from '@/utils/request'

// 查询运输订单调度列表
export function listTransportOrderScheduling(query) {
  return request({
    url: '/ys/transportOrderScheduling/list',
    method: 'get',
    params: query
  })
}

// 查询运输订单调度详细
export function getTransportOrderScheduling(id) {
  return request({
    url: '/ys/transportOrderScheduling/' + id,
    method: 'get'
  })
}

// 新增运输订单调度
export function addTransportOrderScheduling(data) {
  return request({
    url: '/ys/transportOrderScheduling',
    method: 'post',
    data: data
  })
}

// 修改运输订单调度
export function updateTransportOrderScheduling(data) {
  return request({
    url: '/ys/transportOrderScheduling',
    method: 'put',
    data: data
  })
}

// 删除运输订单调度
export function delTransportOrderScheduling(id) {
  return request({
    url: '/ys/transportOrderScheduling/' + id,
    method: 'delete'
  })
}
